/*
 * Copyright 2016 Wealth Inc. All rights reserved.
 */
 package com.wealth.member.service;

import java.util.List;

import com.wealth.member.entity.Membership;

import iaas.service.IBaseService;

/**
 * @author chan
 */
 public interface IMembershipService extends IBaseService<Membership>{
	
	 /** 查询会员身份 */
	 public Membership getMemberShipByMemberIdAndCorpId(Long memberid,Long corpid);
	 
	 /** 查询会员身份 微信号+企业 */
	 public Membership getMemberShipByOpenidAndCorpId(String openid,Long corpid);
	 
	 /** 查询一个企业下的所有会员身份 企业 */
	 public List<Membership> getMemberShipByCorpId(Long corpid);
	 
	 
}

